/*************************************************************************
	> File Name: JuzEvent.cpp
	> Author: 
	> Mail: 
	> Created Time: 2017年05月25日 星期四 00时24分33秒
 ************************************************************************/

#include "JuzEvent.h"

#include <cstring>
//#include <string>

using namespace std;

JuzEvent::JuzEvent(const char* name)
{
    mCancel = false;
    mBreakoff = false;
    mDisable = false;
    strcpy(mEventName,name);
}
JuzEvent::~JuzEvent()
{
}
void JuzEvent::setCancel(bool isYes)
{
    mCancel = isYes;
}
void JuzEvent::setBreakoff(bool isYes)
{
    mBreakoff = isYes;
}
bool JuzEvent::getCancel()
{
    return mCancel;
}
bool JuzEvent::getBreakoff()
{
    return mBreakoff;
}
string JuzEvent::getEventName()
{
    return mEventName;
}

void JuzEvent::setDisable(bool isYes) {
	mDisable = isYes;
}

bool JuzEvent::getDisable() {
	return mDisable;
}
